package com.gxa.service;

import com.gxa.pojo.Institutional;

import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface InstitutionalService {

   //  public boolean selectInstitutional(Institutional institutional);
    List<Institutional> selectInstitutional(int pageNum1,int pageSize);
    /**
     * 通过institutionsl查询单条数据
     *
     * @param institutional 主键
     * @return 实例对象
     */
    List<Institutional> query(Institutional institutional);

    /**
     * 分页查询
     *
     * @param institutional 筛选条件
     * @param page 页数
     * @param size 条数
     * @return 查询结果
     */
    List<Institutional> queryByPage(Institutional institutional,int page,int size);

    /**
     //* @param institutional
     * @return
     */
    public boolean deleteInstitutional(String institutional_name);
    public boolean insertInstitutional(Institutional institutional);
 public int getCount();
}
